package edu.scau.ojforwarder.controller;

import com.fasterxml.jackson.databind.node.ObjectNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CallbackTestController {

    private Logger logger = LoggerFactory.getLogger(CallbackTestController.class);

    @RequestMapping("/test/callback")
    public void testCallback(@RequestBody ObjectNode body) {
        logger.info(body.toString());
    }
}
